﻿#ifndef FORCEVIEW_H
#define FORCEVIEW_H

#include <QWidget>

namespace Ui {
class forceview;
}

class forceview : public QWidget
{
    Q_OBJECT

public:
    explicit forceview(QWidget *parent = nullptr);
    ~forceview();
    static forceview* Instance();
    void setValues(std::vector<double> value);
    void setvalue(int i,double value);
    double Getvalue(int i);
    QVector<double> GetVlaues();
    void setCalibrationdata(std::vector<double> data);

private:
    Ui::forceview *ui;
    static forceview* _force;
    std::vector<double> calibration_data;

};

#endif // FORCEVIEW_H
